* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins", sans-serif;
}
:root{
--main-color-to-text: #bea93c;
--main-color: #ff9800;

}
body{
background-image: url(../img/underwater-bottle-animal-wallpaper\ to\ up-2560x1080_14.jpg) ;
background-repeat: no-repeat;
background-size: cover;
min-height: 100vh;
display:flex;
justify-content: center;
align-items: center;
background-position:center;
position: relative;
}
.header{
  display: flex;
  justify-content: space-between ;
  align-items: center;
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  background-color: transparent;
padding: 20px 100px;
z-index: 99;
}
.header .logo{
  color: #fff;
font-size: 35px;
display: flex;
align-items: center;
justify-content: center;
}
.header .logo span{
font-size: 80px;
    color: var(--main-color);
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header a{
  position: relative;
  font-size: 1.1em;
margin-right: 40px;
text-decoration: none;
color: #fff;
font-weight: bolder;
}
 .header .butlogin{
background-color: transparent;
width: 130px;
height: 50px;
border: 2px solid #fff;
color: #fff;
font-weight: bold;
outline: none;
margin-left: 40px;
cursor: pointer;
border-radius: 8px;
font-size: 18px;
transition: 0.5s;
}
 .header .butlogin:hover{
  background-color: #fff;
  color: var(--main-color-to-text);
    box-shadow: 0 0 10px var(--main-color);
  border: 2px solid var(--main-color-to-text);
 }
 .header a::after{
content: '';
    width: 100%;
    height: 3.5px;
    background: var(--main-color);
    position: absolute;
    bottom: -6px;
    left: 0px;
    border-radius: 5px;
    transform: scaleX(0);
    transition: transform .5s;
 }
 .header a:hover::after{
    transform: scaleX(1);
 }  

 .wrapper{
    position: relative;
    background-color:transparent;
    border-radius: 20px;
    border: solid 2px rgba(225, 225, 225 ,0.5);
    box-shadow: 0 0 30px rgba(0, 0, 0 ,0.5);
    backdrop-filter: blur(35px);
    width: 400px;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition:transform 0.5s ease, height 0.2s ease;
    transform: scale(0);
}
.wrapper .icon-close{
position: absolute;
    top: 0;
    right: 0;
    background-color: var(--main-color);
    padding: 13px;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    border-radius: 0 5px 0 15px;
    cursor: pointer;
    z-index: 1;
}
/* active move */
.wrapper.active{
  height: 520px;
}
.wrapper.active .form-box.login{
  position: absolute;
transform: translateX(400px);
}
.wrapper.active .form-box.register{
  position: absolute;
transform: translateX(0px);
}

.wrapper .form-box.login{
  /* display: none; */
}
.wrapper .form-box.register{
  position: absolute;
  transform: translateX(400px);
}

  .form-box{
    width: 100%;
    padding: 40px;
    transition: 0.5s ease;
  }
    .form-box h2{
      text-align: center;
      font-size: 2em;
      color: var(--main-color);
    }
    .input-box{
      position: relative;
      width: 100%;
      height: 50px;
      border-bottom: 2px solid var(--main-color);
      margin: 30px 0;
    }
    .input-box input{
      width: 88%;
      height: 100%;
      background-color: transparent;
      outline: none;
      color: #fff;
      border: none;
      font-size: 1.1em;
      font-weight: 600;
    }
    .input-box input:focus~label,
    .input-box input:valid~label{
      top: -6px;
    }
    .input-box label{
    color: var(--main-color-to-text);
    position: absolute;
    top: 50%;
    left: 5px;
    pointer-events: none;
    font-weight: 500;
    font-size: 1em;
    transform: translateY(-50%);
      transition: 0.5s;
      }
    .icon i{
    color: var(--main-color-to-text);
    position: absolute;
    top: -2px;
    right: 8px;
    font-size: 1.2em ;
    line-height:  57px;
    }
 .rememper-forgot{
  display: flex;
  font-size: .9em;
  color: var(--main-color-to-text);
  font-weight: 500;
  justify-content: space-between;
margin: -50 px 0 15px;
 }
 .rememper-forgot label input{
  accent-color: var(--main-color);
  margin-right: 5px;
 }
 .rememper-forgot a{
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  color: var(--main-color);
 }
  .rememper-forgot a:hover{
    text-decoration: underline;
  }
  button{
    width: 100%;
    height: 50px;
    border-radius: 10px;
    background-color: var(--main-color);
    border: none;
    margin-top: 15px;
    cursor: pointer;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
  }
  .login-register{
    margin:20px;
    color: var(--main-color-to-text);
    font-size: 0.9em;
    text-align: center;
  }
  .login-register p{

  }
    .login-register a{
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  color: var(--main-color);
  }
    .login-register a:hover{
      text-decoration: underline;
    }